package movimentos;


public class MovimentosXadrez {

	public static final int WRONG_MOV = 32;
    public static final int SIMPLE_MOV = 1;
    public static final int ATTACK = 2;
    public static final int BLOCKED = 4;
    public static final int DANGEROUS = 8;
    public static final int OUT_OF_BOARD = 16;
    
 
   
    public static boolean is(int type, int movement)
    {
        return ((type & movement)!=0);
    }
}
